﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text.Json.Serialization;

namespace Xc.DataAccess.OneNetCore.Services
{
    /// <summary>
    /// 删除设备请求
    /// </summary>
    public class DeleteDeviceRequest : RequestCore<DeleteDeviceRespond>
    {
        internal  protected override string RequestPath => $"devices/{DeviceId}";
        /// <summary>
        /// 设备编号
        /// </summary>
        [JsonIgnore()]
        public string DeviceId { get; set; }
        protected internal override HttpMethod HttpMethod => HttpMethod.Delete;
        internal protected override bool SendBody => false;

    }
}
